import Vue from 'vue'
import App from './App'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import store from './store'
import {router} from './router/index'
import 'font-awesome/css/font-awesome.min.css'
import util from './common/js/routerUtil';
import './assets/icon/iconfont.css'

Vue.use(ElementUI);
Vue.prototype;
new Vue({
    router,
    store,
    render: h => h(App),
    mounted() {
        // 初始化菜单
        util.initRouter(this);
    }
}).$mount('#app')